package com.wiwj.springboot.dubbo.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.wiwj.springboot.dubbo.mapper.CityMapper;
import com.wiwj.springboot.dubbo.po.City;
import com.wiwj.springboot.dubbo.service.CityService;

@Service
public class CityServiceImpl implements CityService {

	@Autowired(required=false)
	private CityMapper cityMapper;
	
	public City findCityById(int id) {
		return cityMapper.findCityById(id);
	}

}
